package edu.ccit.shudong.entity;

import lombok.Data;

import java.time.LocalDateTime;

@Data
public class NewComment {

    // 主键Id
    private Long id;

    // 帖子Id
    private Long postId;

    // 父Id(回复对象Id)
    private Long pId;

    // 发起评论或者回复的用户Id
    private Long authorId;

    // 评论内容
    private String content;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;
}
